home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
ilptops.z
/
ilptops
Wrap
Text File
|
1998-10-30
|
23KB
|
463 lines
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
NNNNAAAAMMMMEEEE
ilptops - convert a text file into a PostScript file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
iiiillllppppttttooooppppssss [----BBBB #] [----CCCC n] [----DDDD] [----EEEE header]
[----FFFF fontlist] [----GGGG] [----HHHH] [----IIII #] [----JJJJ printer]
[----KKKK n] [----LLLL #] [----MMMM n] [----NNNN [tb][lcr]n]
[----OOOO #] [----PPPP #] [----QQQQ] [----RRRR #] [----TTTT #] [----UUUU]
[----VVVV] [----WWWW] [----XXXX] [----2222] [----aaaa] [----hhhh #] [----llll locale name]
[----mmmm map file] [----pppp bitmap size] [----wwww #] infiles
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_i_l_p_t_o_p_s converts a text file into a PostScript file for printing on an
Apple LaserWriter, or any other PostScript-compatible output device. It
supports selection of a variety of fonts at arbitrary point sizes, margin
specification, portrait and landscape page orientation, automatic page
numbering, page outlining, and multi-column printing. It is similar to
_i_l_p_t_o_p_s (1) except that it processes supplementary code set characters
according to the locale specified in the LC_CTYPE environment variables
[see LANG on environ(5)]. The ----llll options overrides LC_CTYPE. It also has
the capability to download bitmap and Type 1 fonts to printers.
In the option descriptions below, physical dimensions described as # may
be specified as a single number with an optional fractional part, and a
required two-letter unit designator. Letter case is ignored. Possible
forms are:
#.##bp big point (1in=72bp) [Courier: 120.000/Pbp cpi]
#.##cm centimeter [Courier: 4.233/Pcm cpi]
#.##in inch [Courier: 1.667/Pin cpi]
#.##mm millimeter (10mm=1cm) [Courier: 42.333/Pmm cpi]
#.##pt point (72.27pt=1in) [Courier: 120.450/Ppt cpi]
The bracketed values give the number of characters per inch (cpi) for a
point size of P units with the fixed-width Courier font.
Options are parsed left to right. So, always the most recent option is
considered when there is a conflict. For example,
iiiillllppppttttooooppppssss ----UUUU ----XXXX
here, -X will be considered.
The letter case is ignored in the options and the following options may
appear in any order.
----BBBB #### Bottom margin of #.
----CCCC nnnn Print _n copies of each page.
PPPPaaaaggggeeee 1111
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
----DDDD Use the Standard PostScript character set for text fonts. If this
option is not specified, the program will check whether the
specified font contains ISO 8859-1 (Latin-1) characters. If so, it
will use the ISO 8859-1 character set. Otherwise, it will use the
default character set for the specified font.
----EEEE hhhheeeeaaaaddddeeeerrrr
The header string will be used to print the gaudy header if ----GGGG
option is turned on. This flag has no effect if ----GGGG is not used.
----FFFF ffffoooonnnnttttlllliiiisssstttt
Comma seperated list of PostScript fontnames to be used with every
codeset. Possible values with acceptable short abbreviations (formed
from the upper-case letters in the font names) are as follows. The
following 35 typefaces are available on most of the PostScript
printers. Some old printers may support only the first 13 typefaces.
FFFFuuuullllllll NNNNaaaammmmeeee AAAAbbbbbbbbrrrreeeevvvviiiiaaaattttiiiioooonnnn
___________________________________________
Courier C
Courier-Bold CB
Courier-BoldOblique CBO
Courier-Oblique CO
Helvetica H
Helvetica-Bold HB
Helvetica-BoldOblique HBO
Helvetica-Oblique HO
Symbol S
Times-Bold TB
Times-BoldItalic TBI
Times-Italic TI
Times-Roman T
AvantGarde-Book AGB
AvantGarde-BookOblique AGBO
AvantGarde-Demi AGD
AvantGarde-DemiOblique AGDO
Bookman-Demi BD
Bookman-DemiItalic BDI
Bookman-Light BL
Bookman-LightItalic BLI
Helvetica-Narrow HN
Helvetica-Narrow-Bold HNB
Helvetica-Narrow-BoldOblique HNBO
Helvetica-Narrow-Oblique HNO
NewCenturySchlbk-Bold NCSB
NewCenturySchlbk-BoldItalic NCSBI
NewCenturySchlbk-Italic NCSI
NewCenturySchlbk-Roman NCSR
Palatino-Bold PB
PPPPaaaaggggeeee 2222
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
Palatino-BoldItalic PBI
Palatino-Italic PI
Palatino-Roman PR
ZapfChancery-MediumItalic ZCMI
ZapfDingbats ZD
The user is not limited to the above 35 typefaces. If there are any
additional fonts that have been downloaded into the PostScript
printer, then they can be used by specifying them through fontname.
If the requested font is not found, then the PostScript interpreter
will substitute it with a Courier font. Alternatively, the user can
opt to download fonts to the printer if the corresponding outline
font is not available int the printer.. The fontname is as
specified by the ps2xlfd_map.* file [ see type1xfonts(1) ] and the
download flag in the ilptops_map.* file shoule be 1.
Only the Courier fonts have fixed widths like typewriter and line
printer fonts. The others are proportionally spaced for improved
readability, and consequently, tabular material will not line up
properly with them.
----GGGG Turn on page decorations. Prints Date,Time,File name and Page
number. If a header is specified with the ----EEEE option, it will
override file name.
----HHHH Horizontal page orientation (landscape mode) instead of vertical
page orientation (portrait mode).
----IIII #### Top margin of # for initial page (for letterheads); if not
specified, it will default to the value given for the top margin by
default or by the -T# command.
----JJJJ pppprrrriiiinnnntttteeeerrrr
The printer on which the document ( output ) is going to be printed.
The printer has to be installed on the system. If this option is not
specified, _i_l_p_t_o_p_s assumes 8.5x11in page size and 0.35in margins.
----KKKK nnnn The maximum number of lines to be printed on the page. Default is 66
lines.
----LLLL #### Left margin of #.
----MMMM nnnn Multiple column output (n columns). In multiple column mode,
formfeeds cause column breaks instead of page breaks.
----NNNN [[[[ttttbbbb]]]][[[[llllccccrrrr]]]]nnnn
Number output pages. The number is placed by default in the center
of the top margin, but the margin can be selected explicitly by t
(top) or b (bottom), and the position of the page number can be
further specified by l (left), c (center), or r (right). If an
initial top margin value is given with the -I# option, numbering
will be omitted on the first page if it is at the top. Pages are
PPPPaaaaggggeeee 3333
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
unnumbered if this option is not specified.
----OOOO #### Draw a # unit wide outline for pages/columns. In multi-column mode a
rectangular box is drawn around each column. A 0.4pt width outline
is an optimal choice for this option.
----PPPP #### Font point size. The point size also determines the interline
spacing.
----QQQQ Turn on debug messages.
----RRRR #### Right margin of #.
----TTTT #### Top margin of #.
----UUUU Output pages in unsorted (first to last) order instead of in sorted
(page reversed) order; some PostScript printers have page handlers
that stack the paper in this order. The default is sorted because
this is appropriate for the most common PostScript printer,the Apple
LaserWriter. Note that the newer Apple LaserWriter II series stacks
pages reversed. Therefore, the ----UUUU option should be used when sending
print jobs to a LaserWriter II printer.
----VVVV Vertical page orientation (portrait mode) instead of Horizontal page
orientation (landscape mode).
----WWWW Wraps long lines in the text instead of clipping them. _i_l_p_t_o_p_s reads
the character width information from fontmetric files in
/usr/lib/DPS/AFM to do the line width calculations. If the requested
font's fontmetrics file is not found, then _i_l_p_t_o_p_s ignores this
switch and defaults to clip mode. Default mode is to clip text in
long lines.
----XXXX Output pages in sorted (last to first) order instead of in unsorted
(-U option) order; some printers have page handlers that stack the
paper in this order. The default is sorted because this is
appropriate for the most common PostScript printer, the Apple
LaserWriter.
----2222 Output PostScript file has Level 2 features.
----aaaa Adjusts lines according to the rules in mmmmaaaapppp_f_i_l_e. It has no effect
if the option -W is not used.
----hhhh #### Page height of #.
----llll llllooooccccaaaalllleeee____nnnnaaaammmmeeee
Locale name. Default is the environment variable LANG.
----mmmm mmmmaaaapppp____ffffiiiilllleeee
Default is /usr/lib/print/ilptops_map.<locale>. Various locales
require their own map files. The map file includes font names,
PPPPaaaaggggeeee 4444
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
download, AFM flag and rules in the following format. Any line that
begins with a '#' is a comment. Columns are separated from by any
sequence of spaces or tabs.
The first non-comment lines describe the fonts and character sets
used in the document. These lines have 5 columns: _f_o_n_t__n_a_m_e ,
_e_n_c_o_d_i_n_g , _s_c_r_e_e_n_w_i_d_t_h , _d_o_w_n_l_o_a_d__f_l_a_g and _A_F_M__f_l_a_g. Each line
describes a font and corresponding code set available for text in
the current document.
_f_o_n_t__n_a_m_e can be the font name of either a PostScript printer font
or IRIX Font Manager font.
_e_n_c_o_d_i_n_g is the name of the character set encoding as given in the
ps2xlfd map file(s) for the desired language in /usr/lib/X11/fonts.
_s_c_r_e_e_n_w_i_d_t_h indicates the number of ASCII spaces that equal the
width of the font's glyphs.
_d_o_w_n_l_o_a_d__f_l_a_g indicates whether ilptops should download the font to
the printer. With a value 1, the program generates Type 3 fonts in
the output PostScript file. It optimizes the amount of data sent to
the printer by generating only the font glyphs that are required for
printing the input text file. With a value 2, it simply copies Type
1 fonts to the PostScript file. A value of 0 switches the flag off.
_A_F_M__f_l_a_g indicates whether ilptops should use AFM to calculate
character width or not.
After the last font descriptor line, there must be a blank line.
Comment lines are not considered to be blank lines. After the blank
line, a single 2 column line describes the character sizes and space
between them: _b_i_t_m_a_p__s_i_z_e indicates the preferred size of bitmap
used when generating the Type 3 font to be downloaded to the printer
and _s_i_d_e__b_e_a_r_i_n_g_s is any space that would be left around each
character generated in the Type 3 font. They have no effect if
_d_o_w_n_l_o_a_d__f_l_a_g is off.
The next three lines present rules which are used to adjust wrapped
lines. They contain lists lf characters that may and may not be
place at the end and beginning of lines of text. If the following
condition is satisfied, the line will be wrapped after the current
character:
{current character is in line 6} or
{{current character is not in line 7} and
{next character is not is line 8}}
It has no effect if the option ----aaaa is not used.
An example ilptops_map.ja_JP.SJIS file for the Japanese locale would
be as follows. (Note that the line break characters are not given
PPPPaaaaggggeeee 5555
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
since this man page might be viewed in a locale that does not
support Japanese Shift-JIS.)
#### ffffoooonnnnttttnnnnaaaammmmeeee eeeennnnccccooooddddiiiinnnngggg wwwwiiiiddddtttthhhh ddddoooowwwwnnnnllllooooaaaadddd AAAAFFFFMMMM CCCCoooouuuurrrriiiieeeerrrr
IIIISSSSOOOO8888888855559999----1111 1111 0000 1111 RRRRyyyyuuuummmmiiiinnnn----LLLLiiiigggghhhhtttt----HHHH
jjjjiiiissssxxxx0000222200008888....1111999988883333----0000 2222 1111 0000 RRRRyyyyuuuummmmiiiinnnn----LLLLiiiigggghhhhtttt....HHHHaaaannnnkkkkaaaakkkkuuuu
jjjjiiiissssxxxx0000222200001111....1111999977776666----0000 1111 1111 0000
#### ffffoooonnnntttt____ssssiiiizzzzeeee ssssiiiiddddeeee____bbbbeeeeaaaarrrriiiinnnnggggssss
22224444 2222
#### ccccaaaannnn wwwwrrrraaaapppp lllliiiinnnneeee aaaafffftttteeeerrrr tttthhhheeeesssseeee cccchhhhaaaarrrraaaacccctttteeeerrrrssss
((((lllliiiisssstttt ooooffff SSSSJJJJIIIISSSS lllliiiinnnneeee bbbbrrrreeeeaaaakkkk cccchhhhaaaarrrraaaacccctttteeeerrrrssss))))
#### ccccaaaannnn nnnnooootttt wwwwrrrraaaapppp lllliiiinnnneeee aaaafffftttteeeerrrr tttthhhheeeesssseeee cccchhhhaaaarrrraaaacccctttteeeerrrrssss
((((lllliiiisssstttt ooooffff SSSSJJJJIIIISSSS lllliiiinnnneeee bbbbrrrreeeeaaaakkkk cccchhhhaaaarrrraaaacccctttteeeerrrrssss))))
#### ccccaaaannnn nnnnooootttt wwwwrrrraaaapppp lllliiiinnnneeee bbbbeeeeffffoooorrrreeee tttthhhheeeesssseeee cccchhhhaaaarrrraaaacccctttteeeerrrrssss
((((lllliiiisssstttt ooooffff SSSSJJJJIIIISSSS lllliiiinnnneeee bbbbrrrreeeeaaaakkkk cccchhhhaaaarrrraaaacccctttteeeerrrrssss))))
TTTThhhheeee RRRRyyyyuuuummmmiiiinnnn----LLLLiiiigggghhhhtttt----HHHH aaaannnndddd RRRRyyyyuuuummmmiiiinnnn----LLLLiiiigggghhhhtttt....HHHHaaaannnnkkkkaaaakkkkuuuu ffffoooonnnnttttssss iiiinnnn tttthhhheeee aaaabbbboooovvvveeee mmmmaaaapppp
ffffiiiilllleeee eeeexxxxaaaammmmpppplllleeee aaaarrrreeee ddddeeeessssccccrrrriiiibbbbeeeedddd iiiinnnn
////uuuussssrrrr////lllliiiibbbb////XXXX11111111////ffffoooonnnnttttssss////ppppssss2222xxxxllllffffdddd____mmmmaaaapppp....jjjjaaaappppaaaannnneeeesssseeee.... OOOOtttthhhheeeerrrr ffffoooonnnnttttssss ggggiiiivvvveeeennnn iiiinnnn tttthhhhiiiissss
ffffiiiilllleeee ccccoooouuuulllldddd bbbbeeee ssssuuuubbbbssssttttiiiittttuuuueeeedddd ffffoooorrrr tttthhhheeee RRRRyyyyuuuummmmiiiinnnn ffffoooonnnnttttssss iiiinnnn tttthhhheeee mmmmaaaapppp ffffiiiilllleeee....
----pppp nnnn Bitmap size used for generating Type 3 fonts. It has no effect if
_d_o_w_n_l_o_a_d__f_l_a_g is off.
----wwww #### Page width of #.
DDDDeeeeffffaaaauuuullllttttssss aaaarrrreeee::::
_i_l_p_t_o_p_s -B0.35in -C1 -FCourier -K66 -L0.35in -M1 -R0.35in -T0.35in
-X -h11.0in -w8.0in
BBBBUUUUGGGGSSSS
Currently, _i_l_p_t_o_p_s is not able to handle files that generate more than
1024 total pages.
FFFFIIIILLLLEEEESSSS
/usr/lib/print/ilptops
filter to convert text to PostScript.
/usr/lib/print/ilptops_map.<locale>
Locale dependent map files.
/usr/lib/X11/fonts/ps2xlfd_map.*
Correlates PostScript and X11 font names.
PPPPaaaaggggeeee 6666
IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss IIIILLLLPPPPTTTTOOOOPPPPSSSS((((1111))))
SSSSEEEEEEEE AAAALLLLSSSSOOOO
lp(1)
lptops(1)
type1xfonts(1)
PPPPaaaaggggeeee 7777